Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/tpm2/
Dtpm2.py203 def __init__(self, alg): argument
204 self.alg = alg
207 return '0x%0x' % (alg)
219 def __init__(self, alg): argument
220 self.alg = alg
223 return '0x%0x' % (alg)
323 def get_digest_size(alg): argument
324 ds = ALG_DIGEST_SIZE_MAP.get(alg)
326 raise UnknownAlgorithmIdError(alg)
330 def get_hash_function(alg): argument
[all …]
/tools/testing/selftests/zram/
Dzram_lib.sh156 for alg in $zram_algs; do
158 echo "$alg" > $sys_path || \
159 echo "FAIL can't set '$alg' to $sys_path"
161 echo "$sys_path = '$alg'"
/tools/testing/selftests/bpf/
Dtest_tag.c116 static const struct sockaddr_alg alg = { in tag_from_alg() local
127 ret = bind(fd_base, (struct sockaddr *)&alg, sizeof(alg)); in tag_from_alg()