/optee_os/core/drivers/crypto/crypto_api/acipher/ |
A D | rsa.c | 199 const uint8_t *label, size_t label_len, in crypto_acipher_rsaes_decrypt() argument 208 if (!key || !msg || !cipher || !msg_len || (!label && label_len)) { in crypto_acipher_rsaes_decrypt() 214 cipher, cipher_len, label, label_len); in crypto_acipher_rsaes_decrypt() 244 ((label_len > 0) ? (uint8_t *)label : NULL); in crypto_acipher_rsaes_decrypt() 245 rsa_data.label.length = label_len; in crypto_acipher_rsaes_decrypt() 260 const uint8_t *label, size_t label_len, in crypto_acipher_rsaes_encrypt() argument 268 if (!key || !msg || !cipher_len || (!label && label_len)) { in crypto_acipher_rsaes_encrypt() 275 label, label_len); in crypto_acipher_rsaes_encrypt() 329 rsa_data.label.data = (label_len > 0) ? (uint8_t *)label : NULL; in crypto_acipher_rsaes_encrypt() 330 rsa_data.label.length = label_len; in crypto_acipher_rsaes_encrypt()
|
/optee_os/core/lib/libtomcrypt/ |
A D | rsa.c | 280 const uint8_t *label, size_t label_len, in crypto_acipher_rsaes_decrypt() argument 332 ((label_len == 0) ? 0 : label), label_len, in crypto_acipher_rsaes_decrypt() 377 const uint8_t *label, size_t label_len, in crypto_acipher_rsaes_encrypt() argument 410 label_len, NULL, find_prng("prng_crypto"), in crypto_acipher_rsaes_encrypt()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ssl_tls13_keys.c | 80 #define SSL_TLS1_3_KEY_SCHEDULE_HKDF_LABEL_LEN( label_len, context_len ) \ argument 83 + label_len \
|
A D | rsa.c | 1160 const unsigned char *label, size_t label_len, in mbedtls_rsa_rsaes_oaep_encrypt() argument 1177 RSA_VALIDATE_RET( label_len == 0 || label != NULL ); in mbedtls_rsa_rsaes_oaep_encrypt() 1207 if( ( ret = mbedtls_md( md_info, label, label_len, p ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_encrypt() 1357 const unsigned char *label, size_t label_len, in mbedtls_rsa_rsaes_oaep_decrypt() argument 1376 RSA_VALIDATE_RET( label_len == 0 || label != NULL ); in mbedtls_rsa_rsaes_oaep_decrypt() 1440 if( ( ret = mbedtls_md( md_info, label, label_len, lhash ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_decrypt()
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | rsa.h | 705 const unsigned char *label, size_t label_len, 862 const unsigned char *label, size_t label_len,
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | rsa.h | 705 const unsigned char *label, size_t label_len, 862 const unsigned char *label, size_t label_len,
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | rsa.h | 705 const unsigned char *label, size_t label_len, 862 const unsigned char *label, size_t label_len,
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | rsa.h | 705 const unsigned char *label, size_t label_len, 862 const unsigned char *label, size_t label_len,
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | rsa.h | 705 const unsigned char *label, size_t label_len, 862 const unsigned char *label, size_t label_len,
|
/optee_os/core/include/crypto/ |
A D | crypto.h | 215 const uint8_t *label, size_t label_len, 220 const uint8_t *label, size_t label_len,
|
/optee_os/lib/libmbedtls/core/ |
A D | rsa.c | 352 size_t label_len __unused, in crypto_acipher_rsaes_decrypt() 441 size_t label_len __unused, in crypto_acipher_rsaes_encrypt()
|
/optee_os/core/crypto/ |
A D | crypto.c | 567 size_t label_len __unused, in crypto_acipher_rsaes_decrypt() 579 size_t label_len __unused, in crypto_acipher_rsaes_encrypt()
|
/optee_os/core/tee/ |
A D | tee_svc_cryp.c | 3534 size_t label_len = 0; in syscall_asymm_operate() local 3623 label_len = params[n].content.ref.length; in syscall_asymm_operate() 3630 label, label_len, in syscall_asymm_operate() 3635 cs->algo, o->attr, label, label_len, in syscall_asymm_operate()
|