OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:lrw
(Results
1 - 2
of
2
) sorted by null
/external/dropbear/libtomcrypt/demos/
tv_gen.c
705
symmetric_LRW
lrw
;
local
714
if ((err = lrw_start(find_cipher("aes"), iv, key, 16, tweak, 0, &
lrw
)) != CRYPT_OK) {
715
fprintf(stderr, "Error starting
LRW
-AES: %s\n", error_to_string(err));
724
if ((err = lrw_encrypt(buf, buf, x, &
lrw
)) != CRYPT_OK) {
725
fprintf(stderr, "Error encrypting with
LRW
-AES: %s\n", error_to_string(err));
737
if ((err = lrw_setiv(iv, 16, &
lrw
)) != CRYPT_OK) {
749
if ((err = lrw_decrypt(buf, buf, x, &
lrw
)) != CRYPT_OK) {
750
fprintf(stderr, "Error decrypting with
LRW
-AES: %s\n", error_to_string(err));
760
lrw_done(&
lrw
);
780
printf("Generating
LRW
vectors..."); fflush(stdout); lrw_gen(); printf("done\n")
[
all
...]
/external/dropbear/libtomcrypt/testprof/
x86_prof.c
517
symmetric_LRW
lrw
;
local
525
lrw_start(x, pt, key, cipher_descriptor[x].min_key_length, key, 0, &
lrw
);
533
#define DO1 lrw_encrypt(pt, pt, sizeof(pt), &
lrw
);
552
#define DO1 lrw_decrypt(pt, pt, sizeof(pt), &
lrw
);
569
lrw_done(&
lrw
);
586
int time_cipher4(void) { fprintf(stderr, "NO
LRW
\n"); return 0; }
[
all
...]
Completed in 39 milliseconds