Searched refs:rsa_len (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | rsa.c | 333 size_t rsa_len = 0; in decrypt_nopad() local 355 rsa_len = crypto_bignum_num_bytes(key->n); in decrypt_nopad() 356 memcpy(buf + rsa_len - src_len, src, src_len); in decrypt_nopad() 358 st = sss_se05x_asymmetric_decrypt(&ctx, buf, rsa_len, buf, &blen); in decrypt_nopad() 397 size_t rsa_len = 0; in encrypt_nopad() local 417 rsa_len = crypto_bignum_num_bytes(key->n); in encrypt_nopad() 418 memcpy(buf + rsa_len - src_len, src, src_len); in encrypt_nopad() 420 st = sss_se05x_asymmetric_encrypt(&ctx, buf, rsa_len, buf, &blen); in encrypt_nopad()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | pk_wrap.c | 83 size_t rsa_len = mbedtls_rsa_get_len( rsa ); in rsa_verify_wrap() local 90 if( sig_len < rsa_len ) in rsa_verify_wrap() 103 if( sig_len > rsa_len ) in rsa_verify_wrap()
|
Completed in 6 milliseconds