Home
last modified time | relevance | path

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

/external/mbedtls/library/
Dcipher.c590 if( ( ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
592 ( ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
641 NULL != ctx->add_padding) in mbedtls_cipher_update()
980 if( NULL == ctx->add_padding ) in mbedtls_cipher_finish()
988 ctx->add_padding( ctx->unprocessed_data, mbedtls_cipher_get_iv_size( ctx ), in mbedtls_cipher_finish()
997 if( NULL == ctx->add_padding && 0 == ctx->unprocessed_len ) in mbedtls_cipher_finish()
1053 ctx->add_padding = add_pkcs_padding; in mbedtls_cipher_set_padding_mode()
1059 ctx->add_padding = add_one_and_zeros_padding; in mbedtls_cipher_set_padding_mode()
1065 ctx->add_padding = add_zeros_and_len_padding; in mbedtls_cipher_set_padding_mode()
1071 ctx->add_padding = add_zeros_padding; in mbedtls_cipher_set_padding_mode()
[all …]
/external/openthread/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 …]
/external/rust/crates/base64/src/
Dchunked_encoder.rs7 use crate::encode::add_padding;
52 b64_bytes_written += add_padding(bytes.len(), &mut encode_buf[b64_bytes_written..]); in encode()
Dencode.rs80 add_padding(input.len(), &mut output[b64_bytes_written..]) in encode_with_padding()
124 pub(crate) fn add_padding(input_len: usize, output: &mut [u8]) -> usize { in add_padding() function
448 let bytes_written = add_padding(input_len, &mut output); in add_padding_random_valid_utf8()
/external/rust/crates/base64/src/engine/
Dtests.rs15 encode::add_padding,
89 let pad_len = add_padding(orig.len(), &mut encode_buf[encode_len..]); in rfc_test_vectors_std_alphabet()
198 add_padding(orig_len, &mut encode_buf[prefix_len + encoded_len_no_pad..]) in encode_doesnt_write_extra_bytes()
385 let _ = add_padding(1, &mut b64[2..]); in decode_detect_invalid_last_symbol_every_possible_two_symbols()
445 let _ = add_padding(2, &mut b64[3..]); in decode_detect_invalid_last_symbol_every_possible_three_symbols()
1222 base_encoded_len + add_padding(orig_len, &mut encode_buf[base_encoded_len..]) in generate_random_encoded_data()
/external/flac/src/metaflac/
Doptions.h171 Argument_AddPadding add_padding; member
Doperations.c388 …ok = do_shorthand_operation__add_padding(filename, chain, operation->argument.add_padding.length, … in do_shorthand_operation()
Doptions.c654 if(!parse_add_padding(option_argument, &(op->argument.add_padding.length))) { in parse_option()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dcipher.h335 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); member
/external/mbedtls/include/mbedtls/
Dcipher.h333 void (*MBEDTLS_PRIVATE(add_padding))( unsigned char *output, size_t olen, size_t data_len );
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h702 void add_padding(uint16_t padding) { in add_padding() function
740 builder_.add_padding(padding);
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h5060 void add_padding(tflite::Padding padding) {
5103 builder_.add_padding(padding);
5179 void add_padding(tflite::Padding padding) {
5232 builder_.add_padding(padding);
5296 void add_padding(tflite::Padding padding) {
5339 builder_.add_padding(padding);
5409 void add_padding(tflite::Padding padding) {
5457 builder_.add_padding(padding);
8562 void add_padding(tflite::Padding padding) {
8590 builder_.add_padding(padding);