From eec82a0e1f63958204609e46e86ed1e21bf78515 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 14 Oct 2012 14:42:27 +0000 Subject: [PATCH] [aes|cmll]t4-sparcv9.pl: addendum to previous sparcv9_modes.pl commit. --- crypto/aes/asm/aest4-sparcv9.pl | 4 ++-- crypto/camellia/asm/cmllt4-sparcv9.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/aes/asm/aest4-sparcv9.pl b/crypto/aes/asm/aest4-sparcv9.pl index 7aaf10fbef..cd668edb1d 100644 --- a/crypto/aes/asm/aest4-sparcv9.pl +++ b/crypto/aes/asm/aest4-sparcv9.pl @@ -70,8 +70,8 @@ require "sparcv9_modes.pl"; $bits=32; for (@ARGV) { $bits=64 if (/\-m64/ || /\-xarch\=v9/); } -if ($bits==64) { $::bias=2047; $::frame=192; } -else { $::bias=0; $::frame=112; } +if ($bits==64) { $::bias=2047; $::frame=192; $::size_t_cc="%xcc"; } +else { $::bias=0; $::frame=112; $::size_t_cc="%icc"; } $::evp=1; # if $evp is set to 0, script generates module with # AES_[en|de]crypt, AES_set_[en|de]crypt_key and AES_cbc_encrypt entry diff --git a/crypto/camellia/asm/cmllt4-sparcv9.pl b/crypto/camellia/asm/cmllt4-sparcv9.pl index 041922134e..fea0338dfa 100644 --- a/crypto/camellia/asm/cmllt4-sparcv9.pl +++ b/crypto/camellia/asm/cmllt4-sparcv9.pl @@ -48,8 +48,8 @@ require "sparcv9_modes.pl"; $bits=32; for (@ARGV) { $bits=64 if (/\-m64/ || /\-xarch\=v9/); } -if ($bits==64) { $::bias=2047; $::frame=192; } -else { $::bias=0; $::frame=112; } +if ($bits==64) { $::bias=2047; $::frame=192; $::size_t_cc="%xcc"; } +else { $::bias=0; $::frame=112; $::size_t_cc="%icc"; } $::evp=1; # if $evp is set to 0, script generates module with # Camellia_[en|de]crypt, Camellia_set_key and Camellia_cbc_encrypt -- 2.34.1