Searched refs:blockCounter (Results 1 – 7 of 7) sorted by relevance
/external/openthread/src/core/crypto/ |
D | pbkdf2_cmac.cpp | 60 uint32_t blockCounter = 0; in GenerateKey() local 76 ++blockCounter; in GenerateKey() 77 prfInput[aSaltLen + 0] = static_cast<uint8_t>(blockCounter >> 24); in GenerateKey() 78 prfInput[aSaltLen + 1] = static_cast<uint8_t>(blockCounter >> 16); in GenerateKey() 79 prfInput[aSaltLen + 2] = static_cast<uint8_t>(blockCounter >> 8); in GenerateKey() 80 prfInput[aSaltLen + 3] = static_cast<uint8_t>(blockCounter); in GenerateKey()
|
/external/ot-br-posix/src/utils/ |
D | pskc.cpp | 71 uint32_t blockCounter = 0; in ComputePskc() local 86 blockCounter++; in ComputePskc() 87 prfInput[mSaltLen + 0] = (uint8_t)(blockCounter >> 24); in ComputePskc() 88 prfInput[mSaltLen + 1] = (uint8_t)(blockCounter >> 16); in ComputePskc() 89 prfInput[mSaltLen + 2] = (uint8_t)(blockCounter >> 8); in ComputePskc() 90 prfInput[mSaltLen + 3] = (uint8_t)(blockCounter); in ComputePskc()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipherChaCha20.java | 41 private int blockCounter = 0; field in OpenSSLCipherChaCha20 83 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 94 blockCounter++; in updateInternal() 97 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal() 99 blockCounter += inputLenRemaining / BLOCK_SIZE_BYTES; in updateInternal() 110 blockCounter = 0; in reset()
|
D | NativeCrypto.java | 149 int length, byte[] key, byte[] nonce, int blockCounter); in chacha20_encrypt_decrypt() argument
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipherChaCha20.java | 43 private int blockCounter = 0; field in OpenSSLCipherChaCha20 85 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 96 blockCounter++; in updateInternal() 99 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal() 101 blockCounter += inputLenRemaining / BLOCK_SIZE_BYTES; in updateInternal() 112 blockCounter = 0; in reset()
|
D | NativeCrypto.java | 153 int length, byte[] key, byte[] nonce, int blockCounter); in chacha20_encrypt_decrypt() argument
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 1629 jbyteArray nonceBytes, jint blockCounter) { in NativeCrypto_chacha20_encrypt_decrypt() argument 1659 blockCounter); in NativeCrypto_chacha20_encrypt_decrypt()
|