Searched refs:add_padding (Results 1 – 2 of 2) sorted by relevance
658 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()666 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()675 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()718 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()724 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()730 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()736 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()741 ctx->add_padding = NULL; in mbedtls_cipher_set_padding_mode()
231 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); member