Lines Matching refs:add_padding
206 dst->add_padding = src->add_padding; in mbedtls_cipher_clone()
607 if( ( ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
609 ( ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
658 NULL != ctx->add_padding) in mbedtls_cipher_update()
999 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()
1007 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()
1016 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()
1074 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()
1080 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()
1086 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()
1092 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()
1097 ctx->add_padding = NULL; in mbedtls_cipher_set_padding_mode()