Searched refs:algo (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/system/ulib/crypto/include/crypto/
H A Dcipher.h60 zx_status_t Init(Algorithm algo, Direction direction, const Secret& key, const Bytes& iv,
65 zx_status_t InitEncrypt(Algorithm algo, const Secret& key, const Bytes& iv) { argument
66 return Init(algo, kEncrypt, key, iv, 0);
68 zx_status_t InitEncrypt(Algorithm algo, const Secret& key, const Bytes& iv, uint64_t alignment) { argument
69 return Init(algo, kEncrypt, key, iv, alignment);
74 zx_status_t InitDecrypt(Algorithm algo, const Secret& key, const Bytes& iv) { argument
75 return Init(algo, kDecrypt, key, iv, 0);
77 zx_status_t InitDecrypt(Algorithm algo, const Secret& key, const Bytes& iv, uint64_t alignment) { argument
78 return Init(algo, kDecrypt, key, iv, alignment);
/fuchsia/zircon/system/ulib/crypto/
H A Dcipher.cpp64 zx_status_t Cipher::GetKeyLen(Algorithm algo, size_t* out) { argument
72 if ((rc = GetCipher(algo, &cipher)) != ZX_OK) {
80 zx_status_t Cipher::GetIVLen(Algorithm algo, size_t* out) { argument
88 if ((rc = GetCipher(algo, &cipher)) != ZX_OK) {
96 zx_status_t Cipher::GetBlockSize(Algorithm algo, size_t* out) { argument
104 if ((rc = GetCipher(algo, &cipher)) != ZX_OK) {
116 zx_status_t Cipher::Init(Algorithm algo, Direction direction, const Secret& key, const Bytes& iv, argument
124 if ((rc = GetCipher(algo, &cipher)) != ZX_OK) {
131 cipher_ = algo;
151 switch (algo) {
[all...]
H A Daead.cpp61 zx_status_t AEAD::GetKeyLen(Algorithm algo, size_t* out) { argument
69 if ((rc = GetAEAD(algo, &aead)) != ZX_OK) {
77 zx_status_t AEAD::GetIVLen(Algorithm algo, size_t* out) { argument
85 if ((rc = GetAEAD(algo, &aead)) != ZX_OK) {
93 zx_status_t AEAD::GetTagLen(Algorithm algo, size_t* out) { argument
101 if ((rc = GetAEAD(algo, &aead)) != ZX_OK) {
205 zx_status_t AEAD::Init(Algorithm algo, const Secret& key, const Bytes& iv, argument
214 if ((rc = GetAEAD(algo, &aead)) != ZX_OK) {

Completed in 76 milliseconds