/optee_os/core/lib/libtomcrypt/src/misc/padding/ |
A D | padding_depad.c | 27 unsigned char pad; in padding_depad() local 38 pad = data[padded_length - 1]; in padding_depad() 40 if (pad > padded_length || pad == 0) return CRYPT_INVALID_ARG; in padding_depad() 42 unpadded_length = padded_length - pad; in padding_depad() 45 pad = 0x0; in padding_depad() 51 pad = 0x0; in padding_depad() 55 if (data[n] != pad) return CRYPT_INVALID_PACKET; in padding_depad()
|
A D | padding_pad.c | 24 unsigned char pad, block_length, r, t; in _padding_padded_length() local 64 pad = (t * block_length) - r; in _padding_padded_length() 66 if ((pad == 0) && (padding != LTC_PAD_ZERO)) { in _padding_padded_length() 67 pad = block_length; in _padding_padded_length() 70 *length += pad; in _padding_padded_length()
|
/optee_os/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305.c | 111 LOAD32L(st->pad[0], key + 16); in poly1305_init() 112 LOAD32L(st->pad[1], key + 20); in poly1305_init() 113 LOAD32L(st->pad[2], key + 24); in poly1305_init() 114 LOAD32L(st->pad[3], key + 28); in poly1305_init() 235 f = (ulong64)h0 + st->pad[0] ; h0 = (ulong32)f; in poly1305_done() 236 f = (ulong64)h1 + st->pad[1] + (f >> 32); h1 = (ulong32)f; in poly1305_done() 237 f = (ulong64)h2 + st->pad[2] + (f >> 32); h2 = (ulong32)f; in poly1305_done() 256 st->pad[0] = 0; in poly1305_done() 257 st->pad[1] = 0; in poly1305_done() 258 st->pad[2] = 0; in poly1305_done() [all …]
|
/optee_os/scripts/ |
A D | gen_ldelf_hex.py | 45 pad = 0 54 pad = segment['p_vaddr'] - (prev_segment['p_vaddr'] + 64 pad = 0 71 if pad > 31: 77 'segment {}, please check'.format(pad, n-1)) 78 pad_size.append(pad)
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_desc_ccb_defines.h | 38 #define NFIFO_PTYPE(pad) SHIFT_U32(NFIFO_PTYPE_##pad & 0x7, 16) argument 48 #define NFIFO_PAD(cla, options, data, pad, len) \ argument 50 NFIFO_PTYPE(pad) | NFIFO_PAD_LENGTH(len))
|
/optee_os/core/lib/libtomcrypt/src/modes/cfb/ |
A D | cfb_encrypt.c | 41 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_encrypt() 47 …if ((err = cipher_descriptor[cfb->cipher]->ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK)… in cfb_encrypt() 52 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); in cfb_encrypt()
|
A D | cfb_decrypt.c | 41 cfb->padlen < 0 || cfb->padlen > (int)sizeof(cfb->pad)) { in cfb_decrypt() 47 …if ((err = cipher_descriptor[cfb->cipher]->ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK)… in cfb_decrypt() 52 cfb->pad[cfb->padlen] = *ct; in cfb_decrypt()
|
/optee_os/core/lib/libtomcrypt/src/modes/lrw/ |
A D | lrw_process.c | 46 XMEMCPY(prod, lrw->pad, 16); in lrw_process() 62 …*(LTC_FAST_TYPE_PTR_CAST(lrw->pad + y)) ^= *(LTC_FAST_TYPE_PTR_CAST(&lrw->PC[x][lrw->IV[x]][y])) ^… in lrw_process() 66 lrw->pad[y] ^= lrw->PC[x][lrw->IV[x]][y] ^ lrw->PC[x][(lrw->IV[x]-1)&255][y]; in lrw_process() 71 gcm_gf_mult(lrw->tweak, lrw->IV, lrw->pad); in lrw_process()
|
A D | lrw_setiv.c | 66 XMEMCPY(lrw->pad, T, 16); in lrw_setiv() 68 gcm_gf_mult(lrw->tweak, IV, lrw->pad); in lrw_setiv()
|
A D | lrw_test.c | 90 if (compare_testvector(tests[x].expected_tweak, 16, lrw.pad, 16, "LRW Tweak", x)) { in lrw_test()
|
/optee_os/core/lib/libtomcrypt/src/modes/ctr/ |
A D | ctr_encrypt.c | 56 …if ((err = cipher_descriptor[ctr->cipher]->ecb_encrypt(ctr->ctr, ctr->pad, &ctr->key)) != CRYPT_OK… in _ctr_encrypt() 65 … *(LTC_FAST_TYPE_PTR_CAST((unsigned char *)ctr->pad + x)); in _ctr_encrypt() 74 *ct++ = *pt++ ^ ctr->pad[ctr->padlen++]; in _ctr_encrypt() 108 (ctr->padlen < 0) || (ctr->padlen > (int)sizeof(ctr->pad))) { in ctr_encrypt()
|
A D | ctr_setiv.c | 47 return cipher_descriptor[ctr->cipher]->ecb_encrypt(IV, ctr->pad, &ctr->key); in ctr_setiv()
|
A D | ctr_start.c | 93 return cipher_descriptor[ctr->cipher]->ecb_encrypt(ctr->ctr, ctr->pad, &ctr->key); in ctr_start()
|
/optee_os/core/arch/arm/include/sm/ |
A D | sm.h | 42 uint32_t pad; member 88 uint32_t pad; member 92 uint32_t pad; member
|
/optee_os/core/lib/libtomcrypt/src/misc/base64/ |
A D | base64_encode.c | 33 const char *codes, int pad) in _base64_encode_internal() argument 64 if (pad) { in _base64_encode_internal()
|
/optee_os/core/arch/arm/kernel/ |
A D | thread_private.h | 29 uint64_t pad; member 221 uint32_t pad[THREAD_RPC_NUM_ARGS]; member
|
/optee_os/core/mm/ |
A D | vm.c | 59 size_t pad = 0; in select_va_in_range() local 67 pad = SMALL_PAGE_SIZE; in select_va_in_range() 69 pad = 0; in select_va_in_range() 79 ADD_OVERFLOW(begin_va, pad, &begin_va) || in select_va_in_range() 90 pad = SMALL_PAGE_SIZE; in select_va_in_range() 92 pad = 0; in select_va_in_range() 101 ADD_OVERFLOW(end_va, pad, &end_va) || in select_va_in_range()
|
A D | fobj.c | 44 uint64_t pad; member
|
/optee_os/core/include/ |
A D | optee_msg.h | 209 uint32_t pad; member
|
/optee_os/core/lib/libtomcrypt/src/hashes/ |
A D | sha3.c | 202 static LTC_INLINE int _done(hash_state *md, unsigned char *hash, ulong64 pad) in _done() argument 209 md->sha3.s[md->sha3.word_index] ^= (md->sha3.saved ^ (pad << (md->sha3.byte_index * 8))); in _done()
|
/optee_os/core/arch/arm/include/kernel/ |
A D | thread.h | 105 uint32_t pad; member 214 uint64_t pad; member
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_cipher.h | 267 pad[MAXBLOCKSIZE]; member 321 pad[MAXBLOCKSIZE]; member 341 pad[16]; member
|
A D | tomcrypt_mac.h | 113 ulong32 pad[4]; member
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | ssl_msg.c | 360 size_t pad ) in ssl_build_inner_plaintext() argument 371 if( remaining < pad ) in ssl_build_inner_plaintext() 373 memset( content + len, 0, pad ); in ssl_build_inner_plaintext() 374 len += pad; in ssl_build_inner_plaintext() 375 remaining -= pad; in ssl_build_inner_plaintext()
|
/optee_os/lib/libutils/isoc/ |
A D | bget_malloc.c | 473 uint64_t pad; member
|