/external/dropbear/libtomcrypt/src/encauth/ccm/ |
D | ccm_test.c | 35 int taglen; in ccm_test() 116 unsigned long taglen, x; in ccm_test() 130 taglen = tests[x].taglen; in ccm_test() 142 tag, &taglen, 0)) != CRYPT_OK) { in ccm_test() 149 if (XMEMCMP(tag, tests[x].tag, tests[x].taglen)) { in ccm_test() 160 tag2, &taglen, 1 )) != CRYPT_OK) { in ccm_test() 167 if (XMEMCMP(tag2, tests[x].tag, tests[x].taglen)) { in ccm_test()
|
D | ccm_memory.c | 45 unsigned char *tag, unsigned long *taglen, in ccm_memory() argument 63 LTC_ARGCHK(taglen != NULL); in ccm_memory() 80 *taglen &= ~1; in ccm_memory() 81 if (*taglen > 16) { in ccm_memory() 82 *taglen = 16; in ccm_memory() 86 if (*taglen < 4) { in ccm_memory() 99 tag, taglen, in ccm_memory() 144 (((*taglen - 2)>>1)<<3) | in ccm_memory() 329 for (x = 0; x < 16 && x < *taglen; x++) { in ccm_memory() 332 *taglen = x; in ccm_memory()
|
/external/dropbear/libtomcrypt/src/encauth/eax/ |
D | eax_decrypt_verify_memory.c | 43 unsigned char *tag, unsigned long taglen, in eax_decrypt_verify_memory() argument 61 buf = XMALLOC(taglen); in eax_decrypt_verify_memory() 81 buflen = taglen; in eax_decrypt_verify_memory() 87 if (buflen >= taglen && XMEMCMP(buf, tag, taglen) == 0) { in eax_decrypt_verify_memory() 94 zeromem(buf, taglen); in eax_decrypt_verify_memory()
|
D | eax_done.c | 27 int eax_done(eax_state *eax, unsigned char *tag, unsigned long *taglen) in eax_done() argument 35 LTC_ARGCHK(taglen != NULL); in eax_done() 71 for (x = 0; x < len && x < *taglen; x++) { in eax_done() 74 *taglen = x; in eax_done()
|
D | eax_encrypt_authenticate_memory.c | 42 unsigned char *tag, unsigned long *taglen) in eax_encrypt_authenticate_memory() argument 51 LTC_ARGCHK(taglen != NULL); in eax_encrypt_authenticate_memory() 63 if ((err = eax_done(eax, tag, taglen)) != CRYPT_OK) { in eax_encrypt_authenticate_memory()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_mac.h | 118 int eax_done(eax_state *eax, unsigned char *tag, unsigned long *taglen); 126 unsigned char *tag, unsigned long *taglen); 134 unsigned char *tag, unsigned long taglen, 164 unsigned char *tag, unsigned long *taglen); 169 const unsigned char *tag, unsigned long taglen, int *stat); 176 unsigned char *tag, unsigned long *taglen); 183 const unsigned char *tag, unsigned long taglen, 192 unsigned char *ct, unsigned char *tag, unsigned long *taglen, int mode); 208 unsigned char *tag, unsigned long *taglen, 278 unsigned char *tag, unsigned long *taglen); [all …]
|
D | tomcrypt_cipher.h | 464 unsigned char *tag, unsigned long *taglen, 488 unsigned char *tag, unsigned long *taglen,
|
/external/dropbear/libtomcrypt/src/mac/f9/ |
D | f9_test.c | 51 unsigned long taglen; in f9_test() 60 taglen = 4; in f9_test() 61 … if ((err = f9_memory(idx, tests[x].K, 16, tests[x].M, tests[x].msglen, T, &taglen)) != CRYPT_OK) { in f9_test() 64 if (taglen != 4 || XMEMCMP(T, tests[x].T, 4)) { in f9_test()
|
/external/dropbear/libtomcrypt/src/mac/xcbc/ |
D | xcbc_test.c | 99 unsigned long taglen; in xcbc_test() 110 taglen = 16; in xcbc_test() 111 …if ((err = xcbc_memory(idx, tests[x].K, 16, tests[x].M, tests[x].msglen, T, &taglen)) != CRYPT_OK)… in xcbc_test() 114 if (taglen != 16 || XMEMCMP(T, tests[x].T, 16)) { in xcbc_test()
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
D | gcm_done.c | 28 unsigned char *tag, unsigned long *taglen) in gcm_done() argument 35 LTC_ARGCHK(taglen != NULL); in gcm_done() 68 for (x = 0; x < 16 && x < *taglen; x++) { in gcm_done() 71 *taglen = x; in gcm_done()
|
D | gcm_memory.c | 43 unsigned char *tag, unsigned long *taglen, in gcm_memory() argument 62 tag, taglen, in gcm_memory() 99 err = gcm_done(gcm, tag, taglen); in gcm_memory()
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
D | ocb_done_encrypt.c | 31 unsigned char *ct, unsigned char *tag, unsigned long *taglen) in ocb_done_encrypt() argument 37 LTC_ARGCHK(taglen != NULL); in ocb_done_encrypt() 38 return s_ocb_done(ocb, pt, ptlen, ct, tag, taglen, 0); in ocb_done_encrypt()
|
D | ocb_done_decrypt.c | 34 const unsigned char *tag, unsigned long taglen, int *stat) in ocb_done_decrypt() argument 60 if (taglen <= tagbuflen && XMEMCMP(tagbuf, tag, taglen) == 0) { in ocb_done_decrypt()
|
D | s_ocb_done.c | 40 unsigned char *ct, unsigned char *tag, unsigned long *taglen, int mode) in s_ocb_done() argument 50 LTC_ARGCHK(taglen != NULL); in s_ocb_done() 124 for (x = 0; x < ocb->block_len && x < (int)*taglen; x++) { in s_ocb_done() 127 *taglen = x; in s_ocb_done()
|
D | ocb_encrypt_authenticate_memory.c | 38 unsigned char *tag, unsigned long *taglen) in ocb_encrypt_authenticate_memory() argument 48 LTC_ARGCHK(taglen != NULL); in ocb_encrypt_authenticate_memory() 69 err = ocb_done_encrypt(ocb, pt, ptlen, ct, tag, taglen); in ocb_encrypt_authenticate_memory()
|
D | ocb_decrypt_verify_memory.c | 39 const unsigned char *tag, unsigned long taglen, in ocb_decrypt_verify_memory() argument 71 err = ocb_done_decrypt(ocb, ct, ctlen, pt, tag, taglen, stat); in ocb_decrypt_verify_memory()
|
/external/tremolo/Tremolo/ |
D | treminfo.c | 77 int taglen = strlen(tag)+1; /* +1 for the = we append */ in vorbis_comment_query() local 78 char *fulltag = (char *)alloca(taglen+ 1); in vorbis_comment_query() 84 if(!tagcompare(vc->user_comments[i], fulltag, taglen)){ in vorbis_comment_query() 87 return vc->user_comments[i] + taglen; in vorbis_comment_query() 97 int taglen = strlen(tag)+1; /* +1 for the = we append */ in vorbis_comment_query_count() local 98 char *fulltag = (char *)alloca(taglen+1); in vorbis_comment_query_count() 103 if(!tagcompare(vc->user_comments[i], fulltag, taglen)) in vorbis_comment_query_count()
|
/external/clearsilver/cs/ |
D | cs.h | 268 int taglen; member
|
D | csparse.c | 348 int ws_index = 2+parse->taglen; in find_open_delim() 354 if (p[1] == '?' && !strncasecmp(&p[2], parse->tag, parse->taglen) && in find_open_delim() 589 token = &(ibuf[i+3+parse->taglen]); in cs_parse_string() 4096 my_parse->taglen = strlen(my_parse->tag); in cs_init_internal()
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 1233 unsigned long *taglen); 1235 This will terminate the EAX state \textit{eax}, and store up to \textit{taglen} bytes of the messag… 1236 then stores how many bytes of the tag were written out back in to \textit{taglen}. 1252 unsigned long taglen; 1284 taglen = sizeof(tag); 1287 &taglen /* length of tag space */ 1294 * it's taglen bytes long */ 1311 unsigned char *tag, unsigned long *taglen); 1320 unsigned char *tag, unsigned long taglen, 1379 unsigned long *taglen); [all …]
|