diff options
author | izick <none@none> | 2006-05-11 11:10:36 -0700 |
---|---|---|
committer | izick <none@none> | 2006-05-11 11:10:36 -0700 |
commit | 76716eaced8d7659d4594350eb3f343c31fe2806 (patch) | |
tree | 80bc02361e09dd6a591c9a7d8d382cea467f883a /usr/src | |
parent | 13c7b6ac430bc41eee84ba0b625cf5fde3241b10 (diff) | |
download | illumos-joyent-76716eaced8d7659d4594350eb3f343c31fe2806.tar.gz |
6389255 aes softtoken sparcv9 will core dump if a signal occurs during assembly code call
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/common/crypto/aes/sun4u/aes_crypt_asm.s | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/usr/src/common/crypto/aes/sun4u/aes_crypt_asm.s b/usr/src/common/crypto/aes/sun4u/aes_crypt_asm.s index 0b5954d3ba..4962aaf802 100644 --- a/usr/src/common/crypto/aes/sun4u/aes_crypt_asm.s +++ b/usr/src/common/crypto/aes/sun4u/aes_crypt_asm.s @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -56,6 +55,8 @@ * */ +#include <sys/stack.h> + #if defined(lint) || defined(__lint) /* LINTED */ /* Nothing to be linted in this file, its pure assembly source */ @@ -2477,7 +2478,7 @@ aes_const: #ifdef __sparcv9 - save %sp, -232, %sp + save %sp, -SA(MINFRAME), %sp #ifdef PIC sethi %hi(aes_const), %l0 @@ -2521,7 +2522,7 @@ aes_const: #else /* __sparcv9 */ - save %sp, -184, %sp + save %sp, -SA(MINFRAME), %sp sethi %hi(aes_const), %l0 #ifdef PIC @@ -2994,7 +2995,7 @@ aes_const: #ifdef __sparcv9 - save %sp, -232, %sp + save %sp, -SA(MINFRAME), %sp #ifdef PIC sethi %hi(aes_const), %l0 @@ -3038,7 +3039,7 @@ aes_const: #else /* __sparcv9 */ - save %sp, -184, %sp + save %sp, -SA(MINFRAME), %sp sethi %hi(aes_const), %l0 #ifdef PIC |