Searched refs:ctx (Results 1 - 8 of 8) sorted by last modified time
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 348 EVP_MD_CTX ctx; local
|
/system/core/adb/ |
H A D | adb_auth_host.c | 68 BN_CTX* ctx = BN_CTX_new(); local 84 BN_mod_sqr(rr, r, n, ctx); 85 BN_div(NULL, rem, n, r32, ctx); 86 BN_mod_inverse(n0inv, rem, r32, ctx); 91 BN_div(rr, rem, rr, r32, ctx); 93 BN_div(n, rem, n, r32, ctx); 105 BN_CTX_free(ctx);
|
H A D | usb_libusb.c | 41 static libusb_context *ctx = NULL; variable 70 libusb_exit(ctx); 586 ssize_t cnt = libusb_get_device_list(ctx, &devs); 632 int r = libusb_init(&ctx);
|
/system/core/include/mincrypt/ |
H A D | sha.h | 50 void SHA_init(SHA_CTX* ctx); 51 void SHA_update(SHA_CTX* ctx, const void* data, int len); 52 const uint8_t* SHA_final(SHA_CTX* ctx);
|
/system/core/libmincrypt/ |
H A D | sha.c | 51 static void SHA1_Transform(SHA_CTX* ctx) { argument 56 A = ctx->state[0]; 57 B = ctx->state[1]; 58 C = ctx->state[2]; 59 D = ctx->state[3]; 60 E = ctx->state[4]; 64 (W[t] = bswap_32(ctx->buf.w[t])) + \ 140 ctx->state[0] += A; 141 ctx->state[1] += B; 142 ctx 147 SHA_update(SHA_CTX* ctx, const void* data, int len) argument 171 SHA_final(SHA_CTX* ctx) argument 195 SHA1_transform(SHA_CTX *ctx) argument 245 SHA_update(SHA_CTX *ctx, const void *data, int len) argument 259 SHA_final(SHA_CTX *ctx) argument 286 SHA_init(SHA_CTX* ctx) argument 299 SHA_CTX ctx; local [all...] |
/system/core/mkbootimg/ |
H A D | mkbootimg.c | 110 SHA_CTX ctx; local 228 SHA_init(&ctx); 229 SHA_update(&ctx, kernel_data, hdr.kernel_size); 230 SHA_update(&ctx, &hdr.kernel_size, sizeof(hdr.kernel_size)); 231 SHA_update(&ctx, ramdisk_data, hdr.ramdisk_size); 232 SHA_update(&ctx, &hdr.ramdisk_size, sizeof(hdr.ramdisk_size)); 233 SHA_update(&ctx, second_data, hdr.second_size); 234 SHA_update(&ctx, &hdr.second_size, sizeof(hdr.second_size)); 235 sha = SHA_final(&ctx);
|
/system/core/toolbox/ |
H A D | lsusb.c | 206 struct usb_host_context *ctx; local 211 ctx = usb_host_init(); 212 if (!ctx) { 217 usb_host_run(ctx, 223 usb_host_cleanup(ctx);
|
/system/extras/ext4_utils/ |
H A D | uuid.c | 43 SHA1_CTX ctx; local 44 SHA1Init(&ctx); 45 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace)); 46 SHA1Update(&ctx, (const u8*)name, strlen(name)); 47 SHA1Final(sha1, &ctx);
|
Completed in 88 milliseconds