Home
last modified time | relevance | path

Searched refs:headerlen (Results 1 – 14 of 14) sorted by relevance

/external/dropbear/libtomcrypt/src/encauth/ccm/
Dccm_memory.c42 const unsigned char *header, unsigned long headerlen, in ccm_memory() argument
57 if (headerlen > 0) { in ccm_memory()
96 header, headerlen, in ccm_memory()
143 PAD[x++] = (unsigned char)(((headerlen > 0) ? (1<<6) : 0) | in ccm_memory()
175 if (headerlen > 0) { in ccm_memory()
179 if (headerlen < ((1UL<<16) - (1UL<<8))) { in ccm_memory()
180 PAD[x++] ^= (headerlen>>8) & 255; in ccm_memory()
181 PAD[x++] ^= headerlen & 255; in ccm_memory()
185 PAD[x++] ^= (headerlen>>24) & 255; in ccm_memory()
186 PAD[x++] ^= (headerlen>>16) & 255; in ccm_memory()
[all …]
Dccm_test.c30 int headerlen; in ccm_test()
139 tests[x].header, tests[x].headerlen, in ccm_test()
157 tests[x].header, tests[x].headerlen, in ccm_test()
/external/dropbear/libtomcrypt/src/encauth/eax/
Deax_init.c35 const unsigned char *header, unsigned long headerlen) in eax_init() argument
46 if (headerlen > 0) { in eax_init()
102 if (headerlen != 0) { in eax_init()
103 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) { in eax_init()
Deax_test.c32 headerlen, in eax_test()
230 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
255 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test()
Deax_encrypt_authenticate_memory.c39 const unsigned char *header, unsigned long headerlen, in eax_encrypt_authenticate_memory() argument
55 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) { in eax_encrypt_authenticate_memory()
Deax_decrypt_verify_memory.c40 const unsigned char *header, unsigned long headerlen, in eax_decrypt_verify_memory() argument
73 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) { in eax_decrypt_verify_memory()
/external/openssl/ssl/
Ds3_both.c742 size_t len,align=0,headerlen; in ssl3_setup_read_buffer() local
745 headerlen = DTLS1_RT_HEADER_LENGTH; in ssl3_setup_read_buffer()
747 headerlen = SSL3_RT_HEADER_LENGTH; in ssl3_setup_read_buffer()
763 + headerlen + align; in ssl3_setup_read_buffer()
791 size_t len,align=0,headerlen; in ssl3_setup_write_buffer() local
794 headerlen = DTLS1_RT_HEADER_LENGTH + 1; in ssl3_setup_write_buffer()
796 headerlen = SSL3_RT_HEADER_LENGTH; in ssl3_setup_write_buffer()
814 + headerlen + align; in ssl3_setup_write_buffer()
820 len += headerlen + align in ssl3_setup_write_buffer()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_mac.h113 const unsigned char *header, unsigned long headerlen);
123 const unsigned char *header, unsigned long headerlen,
131 const unsigned char *header, unsigned long headerlen,
205 const unsigned char *header, unsigned long headerlen,
Dtomcrypt_cipher.h461 const unsigned char *header, unsigned long headerlen,
/external/svox/pico/lib/
Dpicorsrc.c296 picoos_FileHeader header, picoos_uint32 * headerlen, picoos_File file) in readHeader() argument
305 status = picoos_readPicoHeader(file, headerlen); in readHeader()
316 *headerlen += 2; in readHeader()
322 *headerlen += hdrlen1; in readHeader()
540 picoos_uint32 headerlen, len,maxlen; in picorsrc_loadResource() local
581 status = readHeader(this, &header, &headerlen, res->file); in picorsrc_loadResource()
Dpicoos.c1959 pico_status_t picoos_readPicoHeader(picoos_File f, picoos_uint32 * headerlen) in picoos_readPicoHeader() argument
1970 *headerlen = 0; in picoos_readPicoHeader()
1975 *headerlen = n; in picoos_readPicoHeader()
1978 while (!done && *headerlen < PICO_MAX_FOREIGN_HEADER_LEN) { in picoos_readPicoHeader()
1983 headerlen++; in picoos_readPicoHeader()
Dpicoos.h496 pico_status_t picoos_readPicoHeader(picoos_File f, picoos_uint32 * headerlen);
/external/openssl/patches/
Dsmall_records.patch78 - + headerlen + align;
90 + + headerlen + align;
114 + headerlen + align;
118 len += headerlen + align
/external/dropbear/libtomcrypt/
Dcrypt.tex1184 unsigned long headerlen);
1190 message of length \textit{headerlen} octets.
1193 encrypted in EAX mode. Note: if \textit{headerlen} is zero you may pass \textit{header} as \textbf…
1308 const unsigned char *header, unsigned long headerlen,
1317 const unsigned char *header, unsigned long headerlen,
1450 const unsigned char *header, unsigned long headerlen,
1465 …ored in \textit{header} of length \textit{headerlen} octets. The header can be zero octets long (…
5542 @param headerlen The length of the header (octets)
5556 const unsigned char *header, unsigned long headerlen,