Home
last modified time | relevance | path

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

/crypto/sm2/
A Dsm2_crypt.c110 uint8_t *ciphertext_buf, size_t *ciphertext_len) in ossl_sm2_encrypt() argument
186 memset(ciphertext_buf, 0, *ciphertext_len); in ossl_sm2_encrypt()
262 *ciphertext_len = (size_t)ciphertext_leni; in ossl_sm2_encrypt()
282 const uint8_t *ciphertext, size_t ciphertext_len, in ossl_sm2_decrypt() argument
305 if (field_size == 0 || hash_size <= 0 || ciphertext_len > LONG_MAX) in ossl_sm2_decrypt()
310 sm2_ctext = d2i_SM2_Ciphertext(NULL, &ciphertext, (long)ciphertext_len); in ossl_sm2_decrypt()

Completed in 7 milliseconds