Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 5 of 5) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
A Dxtea.c106 uint32_t sum = 0, delta = 0x9E3779B9; in mbedtls_xtea_crypt_ecb() local
110 v0 += (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]); in mbedtls_xtea_crypt_ecb()
111 sum += delta; in mbedtls_xtea_crypt_ecb()
112 v1 += (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]); in mbedtls_xtea_crypt_ecb()
117 uint32_t delta = 0x9E3779B9, sum = delta * 32; in mbedtls_xtea_crypt_ecb() local
121 v1 -= (((v0 << 4) ^ (v0 >> 5)) + v0) ^ (sum + k[(sum>>11) & 3]); in mbedtls_xtea_crypt_ecb()
122 sum -= delta; in mbedtls_xtea_crypt_ecb()
123 v0 -= (((v1 << 4) ^ (v1 >> 5)) + v1) ^ (sum + k[sum & 3]); in mbedtls_xtea_crypt_ecb()
A Dmd.c705 unsigned char sum[MBEDTLS_MD_MAX_SIZE]; in mbedtls_md_hmac_starts() local
718 if( ( ret = mbedtls_md_finish( ctx, sum ) ) != 0 ) in mbedtls_md_hmac_starts()
722 key = sum; in mbedtls_md_hmac_starts()
744 mbedtls_platform_zeroize( sum, sizeof( sum ) ); in mbedtls_md_hmac_starts()
/optee_os/core/lib/libtomcrypt/src/ciphers/
A Dxtea.c35 ulong32 x, sum, K[4]; in xtea_setup() local
55 for (x = sum = 0; x < 32; x++) { in xtea_setup()
56 skey->xtea.A[x] = (sum + K[sum&3]) & 0xFFFFFFFFUL; in xtea_setup()
57 sum = (sum + 0x9E3779B9UL) & 0xFFFFFFFFUL; in xtea_setup()
58 skey->xtea.B[x] = (sum + K[(sum>>11)&3]) & 0xFFFFFFFFUL; in xtea_setup()
/optee_os/core/crypto/
A Dsm3.c240 uint8_t sum[32]; in sm3_hmac_init() local
243 sm3(key, keylen, sum); in sm3_hmac_init()
245 key = sum; in sm3_hmac_init()
259 memzero_explicit(sum, sizeof(sum)); in sm3_hmac_init()
/optee_os/lib/libutils/isoc/
A Dbget.doc251 pointed to by <curalloc>. The total free space (sum of all free blocks

Completed in 14 milliseconds