Home
last modified time | relevance | path

Searched refs:mod_size (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/
A Drsa.c336 size_t mod_size; in sw_crypto_acipher_rsaes_decrypt() local
365 blen = mod_size - 11; in sw_crypto_acipher_rsaes_decrypt()
438 uint32_t mod_size; in sw_crypto_acipher_rsaes_encrypt() local
447 if (*dst_len < mod_size) { in sw_crypto_acipher_rsaes_encrypt()
448 *dst_len = mod_size; in sw_crypto_acipher_rsaes_encrypt()
452 *dst_len = mod_size; in sw_crypto_acipher_rsaes_encrypt()
500 size_t hash_size, mod_size; in sw_crypto_acipher_rsassa_sign() local
559 mod_size = ltc_mp.unsigned_size((void *)(ltc_key.N)); in sw_crypto_acipher_rsassa_sign()
561 if (*sig_len < mod_size) { in sw_crypto_acipher_rsassa_sign()
562 *sig_len = mod_size; in sw_crypto_acipher_rsassa_sign()
[all …]
/optee_os-3.20.0/lib/libmbedtls/core/
A Drsa.c411 size_t mod_size = 0; in sw_crypto_acipher_rsaes_decrypt() local
427 blen = mod_size - 11; in sw_crypto_acipher_rsaes_decrypt()
507 size_t mod_size = 0; in sw_crypto_acipher_rsaes_encrypt() local
519 if (*dst_len < mod_size) { in sw_crypto_acipher_rsaes_encrypt()
520 *dst_len = mod_size; in sw_crypto_acipher_rsaes_encrypt()
524 *dst_len = mod_size; in sw_crypto_acipher_rsaes_encrypt()
525 rsa.len = mod_size; in sw_crypto_acipher_rsaes_encrypt()
582 size_t mod_size = 0; in sw_crypto_acipher_rsassa_sign() local
623 if (*sig_len < mod_size) { in sw_crypto_acipher_rsassa_sign()
624 *sig_len = mod_size; in sw_crypto_acipher_rsassa_sign()
[all …]

Completed in 8 milliseconds