Searched refs:padding_length (Results 1 – 3 of 3) sorted by relevance
/external/openssl/ssl/ |
D | s3_cbc.c | 114 unsigned padding_length, good; in ssl3_cbc_remove_padding() local 122 padding_length = rec->data[rec->length-1]; in ssl3_cbc_remove_padding() 123 good = constant_time_ge(rec->length, padding_length+overhead); in ssl3_cbc_remove_padding() 125 good &= constant_time_ge(block_size, padding_length+1); in ssl3_cbc_remove_padding() 126 padding_length = good & (padding_length+1); in ssl3_cbc_remove_padding() 127 rec->length -= padding_length; in ssl3_cbc_remove_padding() 128 rec->type |= padding_length<<8; /* kludge: pass padding length */ in ssl3_cbc_remove_padding() 148 unsigned padding_length, good, to_check, i; in tls1_cbc_remove_padding() local 166 padding_length = rec->data[rec->length-1]; in tls1_cbc_remove_padding() 177 !(padding_length & 1)) in tls1_cbc_remove_padding() [all …]
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
D | TransportConnection.java | 217 int padding_length = recv_packet_header_buffer[4] & 0xff; in peekNextMessageLength() local 222 int payload_length = packet_length - padding_length - 1; in peekNextMessageLength() 225 throw new IOException("Illegal padding_length in packet from remote (" + padding_length + ")"); in peekNextMessageLength() 243 int padding_length = recv_packet_header_buffer[4] & 0xff; in receiveMessage() local 248 int payload_length = packet_length - padding_length - 1; in receiveMessage() 251 throw new IOException("Illegal padding_length in packet from remote (" + padding_length + ")"); in receiveMessage() 257 cis.read(recv_padding_buffer, 0, padding_length); in receiveMessage() 266 recv_mac.update(recv_padding_buffer, 0, padding_length); in receiveMessage()
|
/external/flac/libFLAC/ |
D | metadata_iterators.c | 118 …data_SimpleIterator *iterator, FLAC__StreamMetadata *block, unsigned padding_length, FLAC__bool pa… 2859 …data_SimpleIterator *iterator, FLAC__StreamMetadata *block, unsigned padding_length, FLAC__bool pa… in write_metadata_block_stationary_with_padding_() argument 2880 padding->length = padding_length; in write_metadata_block_stationary_with_padding_()
|