Searched refs:key (Results 1 – 10 of 10) sorted by relevance
/bootable/bootloader/legacy/libc/ |
D | rsa.c | 33 static void subM(RSAPublicKey *key, uint32_t *a) { in subM() argument 36 for (i = 0; i < key->len; ++i) { in subM() 37 A += (uint64_t)a[i] - key->n[i]; in subM() 44 static int geM(RSAPublicKey *key, const uint32_t *a) { in geM() argument 46 for (i = key->len; i;) { in geM() 48 if (a[i] < key->n[i]) return 0; in geM() 49 if (a[i] > key->n[i]) return 1; in geM() 55 static void montMulAdd(RSAPublicKey *key, in montMulAdd() argument 60 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd() 61 uint64_t B = (uint64_t)d0 * key->n[0] + (uint32_t)A; in montMulAdd() [all …]
|
D | rsa.h | 48 int RSA_verify(RSAPublicKey *key,
|
/bootable/recovery/ |
D | install.c | 289 RSAPublicKey* key = out + (*numKeys - 1); in load_keys() local 291 &(key->len), &(key->n0inv), &(key->n[0])) != 3) { in load_keys() 294 if (key->len != RSANUMWORDS) { in load_keys() 295 LOGE("key length (%d) does not match expected size\n", key->len); in load_keys() 298 for (i = 1; i < key->len; ++i) { in load_keys() 299 if (fscanf(f, " , %i", &(key->n[i])) != 1) goto exit; in load_keys() 301 if (fscanf(f, " } , { %i", &(key->rr[0])) != 1) goto exit; in load_keys() 302 for (i = 1; i < key->len; ++i) { in load_keys() 303 if (fscanf(f, " , %i", &(key->rr[i])) != 1) goto exit; in load_keys()
|
D | recovery.c | 298 int key = ui_wait_key(); in prompt_and_wait() local 302 if (key == KEY_DREAM_BACK && ui_key_pressed(KEY_DREAM_HOME)) { in prompt_and_wait() 310 } else if (alt && key == KEY_W) { in prompt_and_wait() 312 } else if (alt && key == KEY_S) { in prompt_and_wait() 314 } else if ((key == KEY_DOWN || key == KEY_VOLUMEDOWN) && visible) { in prompt_and_wait() 317 } else if ((key == KEY_UP || key == KEY_VOLUMEUP) && visible) { in prompt_and_wait() 320 } else if (key == BTN_MOUSE && visible) { in prompt_and_wait() 384 print_property(const char *key, const char *name, void *cookie) in print_property() argument 386 fprintf(stderr, "%s=%s\n", key, name); in print_property()
|
D | common.h | 27 int ui_key_pressed(int key); // returns >0 if the code is currently pressed
|
D | ui.c | 525 int key = key_queue[0]; in ui_wait_key() local 528 return key; in ui_wait_key() 531 int ui_key_pressed(int key) in ui_key_pressed() argument 534 return key_pressed[key]; in ui_key_pressed()
|
/bootable/recovery/updater/ |
D | install.c | 446 char* key; in GetPropFn() local 447 key = Evaluate(state, argv[0]); in GetPropFn() 448 if (key == NULL) return NULL; in GetPropFn() 451 property_get(key, value, ""); in GetPropFn() 452 free(key); in GetPropFn() 467 char* key; in FileGetPropFn() local 468 if (ReadArgs(state, argv, 2, &filename, &key) < 0) { in FileGetPropFn() 531 if (strcmp(key, line) != 0) continue; in FileGetPropFn() 551 free(key); in FileGetPropFn()
|
/bootable/bootloader/legacy/usbloader/ |
D | main.c | 202 void key_changed(unsigned int key, unsigned int down) in key_changed() argument 205 if(key == BOOT_KEY_STOP_BOOT) boot_from_flash = 0; in key_changed()
|
/bootable/bootloader/legacy/include/boot/ |
D | boot.h | 68 extern void key_changed(unsigned int key, unsigned int is_down) __attribute__ ((weak));
|
/bootable/recovery/edify/ |
D | expr.c | 348 NamedFunction key; in FindFunction() local 349 key.name = name; in FindFunction() 350 NamedFunction* nf = bsearch(&key, fn_table, fn_entries, in FindFunction()
|