Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 13 of 13) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dnoekeon.c34 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
35 b ^= temp; d ^= temp; \
36 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
37 a ^= temp; c ^= temp;
40 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
41 b ^= temp ^ k[1]; d ^= temp ^ k[3]; \
42 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
43 a ^= temp ^ k[0]; c ^= temp ^ k[2];
48 temp = d; d = a; a = temp;\
69 ulong32 temp; in noekeon_setup() local
[all …]
A Dkasumi.c135 ulong32 left, right, temp; in kasumi_ecb_encrypt() local
146 temp = FL(left, n, skey); in kasumi_ecb_encrypt()
147 temp = FO(temp, n++, skey); in kasumi_ecb_encrypt()
148 right ^= temp; in kasumi_ecb_encrypt()
150 temp = FL(temp, n++, skey); in kasumi_ecb_encrypt()
151 left ^= temp; in kasumi_ecb_encrypt()
162 ulong32 left, right, temp; in kasumi_ecb_decrypt() local
174 temp = FL(temp, n--, skey); in kasumi_ecb_decrypt()
175 left ^= temp; in kasumi_ecb_decrypt()
177 temp = FO(temp, n--, skey); in kasumi_ecb_decrypt()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/aes/
A Daes.c117 ulong32 temp, *rk; in SETUP() local
160 temp = rk[5]; in SETUP()
182 temp = rk[7]; in SETUP()
221 temp = rrk[0]; in SETUP()
223 temp = rrk[1]; in SETUP()
225 temp = rrk[2]; in SETUP()
227 temp = rrk[3]; in SETUP()
230 temp = rrk[0]; in SETUP()
236 temp = rrk[1]; in SETUP()
242 temp = rrk[2]; in SETUP()
[all …]
/optee_os-3.20.0/ta/pkcs11/src/
A Dpkcs11_attributes.c304 struct obj_attrs *temp, in set_attributes_opt_or_null() argument
481 struct obj_attrs *temp) in create_storage_attributes() argument
491 class = get_class(temp); in create_storage_attributes()
520 type = get_key_type(temp); in create_genkey_attributes()
546 struct obj_attrs *temp) in create_symm_key_attributes() argument
723 struct obj_attrs *temp, in create_pub_key_attributes() argument
902 get_key_type(*temp), id2str_key_type(get_key_type(*temp))); in sanitize_symm_key_attributes()
1029 *out = temp; in create_attributes_from_template()
1110 switch (get_class(temp)) { in create_attributes_from_template()
1131 get_class(temp), id2str_class(get_class(temp))); in create_attributes_from_template()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dblowfish.c75 uint32_t Xl, Xr, temp; in blowfish_enc() local
86 temp = Xl; in blowfish_enc()
88 Xr = temp; in blowfish_enc()
91 temp = Xl; in blowfish_enc()
93 Xr = temp; in blowfish_enc()
104 uint32_t Xl, Xr, temp; in blowfish_dec() local
115 temp = Xl; in blowfish_dec()
117 Xr = temp; in blowfish_dec()
120 temp = Xl; in blowfish_dec()
122 Xr = temp; in blowfish_dec()
[all …]
A Dxtea.c119 unsigned char temp[8]; in mbedtls_xtea_crypt_cbc() local
128 memcpy( temp, input, 8 ); in mbedtls_xtea_crypt_cbc()
134 memcpy( iv, temp, 8 ); in mbedtls_xtea_crypt_cbc()
A Ddes.c647 unsigned char temp[8]; in mbedtls_des_crypt_cbc() local
673 memcpy( temp, input, 8 ); in mbedtls_des_crypt_cbc()
681 memcpy( iv, temp, 8 ); in mbedtls_des_crypt_cbc()
753 unsigned char temp[8]; in mbedtls_des3_crypt_cbc() local
779 memcpy( temp, input, 8 ); in mbedtls_des3_crypt_cbc()
787 memcpy( iv, temp, 8 ); in mbedtls_des3_crypt_cbc()
A Dcamellia.c552 unsigned char temp[16]; in mbedtls_camellia_crypt_cbc() local
567 memcpy( temp, input, 16 ); in mbedtls_camellia_crypt_cbc()
573 memcpy( iv, temp, 16 ); in mbedtls_camellia_crypt_cbc()
A Daria.c599 unsigned char temp[MBEDTLS_ARIA_BLOCKSIZE]; in mbedtls_aria_crypt_cbc() local
615 memcpy( temp, input, MBEDTLS_ARIA_BLOCKSIZE ); in mbedtls_aria_crypt_cbc()
621 memcpy( iv, temp, MBEDTLS_ARIA_BLOCKSIZE ); in mbedtls_aria_crypt_cbc()
A Dsha1.c107 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member
134 local.temp = local.W[( (t) - 3 ) & 0x0F] ^ \ in mbedtls_internal_sha1_process()
138 ( local.W[(t) & 0x0F] = S(local.temp,1) ) \ in mbedtls_internal_sha1_process()
A Daes.c1033 unsigned char temp[16]; in mbedtls_aes_crypt_cbc() local
1061 memcpy( temp, input, 16 ); in mbedtls_aes_crypt_cbc()
1069 memcpy( iv, temp, 16 ); in mbedtls_aes_crypt_cbc()
/optee_os-3.20.0/core/crypto/
A Dsm4.c220 uint8_t temp[16]; in sm4_crypt_cbc() local
237 memcpy(temp, input, 16); in sm4_crypt_cbc()
241 memcpy(iv, temp, 16); in sm4_crypt_cbc()
253 uint8_t temp[16]; in sm4_crypt_ctr() local
258 memcpy(temp, ctr, 16); in sm4_crypt_ctr()
262 memcpy(ctr, temp, 16); in sm4_crypt_ctr()
/optee_os-3.20.0/core/tee/
A Dtee_rpmb_fs.c2816 char temp; in rpmb_fs_dir_populate() local
2836 temp = filename[pathlen]; in rpmb_fs_dir_populate()
2841 filename[pathlen] = temp; in rpmb_fs_dir_populate()

Completed in 28 milliseconds