Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dcipher.c557 if( ( ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
559 ( ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
608 NULL != ctx->add_padding) in mbedtls_cipher_update()
949 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()
957 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()
966 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()
1024 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()
1030 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()
1036 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()
1042 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h335 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); member